WorldClient Pro © 1999-2000 Alt-N Technologies. All Rights Reserved.

 Languages

 

Supporting Multiple Languages
WorldClient Pro supports multiple languages other than English. Inside WorldClient Pro's "\Templates\" directory is a file called "languages.ini" that is used for building alternate language text for sending to a user's browser when they have chosen to view the email client in a language other than English.

This file contains a section for each supported language. The heading of each section is the ISO-639 version 1 two-digit language code (not internet language code) used to identify the language that the section contains. The first section is English (language code "en"). It contains an entry for each portion of English text that is to be displayed as part of the Client pages. Beside each of these entries is a reference number that WorldClient uses to identify that portion of text. All of the other sections contain these same reference numbers with the appropriate language translations beside them.

In WorldClient Pro's HTML Template files, all text that will eventually be displayed by a user's browser is contained in tags in the form: [$Text$]. Whenever WorldClient encounters one of these tags, it will look up the English text that the tag contains, find the entry's reference number, retrieve the text beside that number in the appropriate language section, and then replace the tag with text in the user's chosen language.

 

Supporting Additional Text
If you are customizing your Template files and you would like to add additional text to them that will be displayed in your browser, be sure to place the additional text into language tags like those in the original Templates. In other words, always add text to your Template files in the form: [$New Text$]. Then WorldClient Pro will add entries and reference numbers for the new text to the "Language.ini" file; a set of the additional entries will be appended to each language section. Finally, translate the new entries into any languages that you wish to support. New entries that have not been translated will be displayed in whatever form that they originally appeared, regardless of the language.

 

Supporting Additional Languages
In order for WorldClient to support additional languages, you will have to add a new section to the "Languages.ini" file for each additional language that you wish to support. Simply include a new two-digit language code heading for each new section and then translate the numbered entries into the new language.

Note

WorldClient loads the entire set of Templates for any given language (even English) into memory the first time that the language is used. If you make any changes to a Template file or the Languages.ini then you will have to stop and then restart WorldClient Pro before the changes will take effect.